import hyRequest from '@/service'

// 查询树形菜单结构
export const getMenuTreeStrueture = () => {
  return hyRequest.post({
    url: '/village/menu/getTreeList'
  })
}

// 查询当前用户拥有菜单
export const getUserMenu = () => {
  return hyRequest.post({
    url: '/village/menu/getLoginMenuList'
  })
}
